﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Chapter3Applications.Models.PersistentModel;

namespace Chapter3Applications.Models.Abstract
{
    public interface IShoppingListRepository
    {
        IQueryable<Product> ProductSet { get; }
        IQueryable<ShoppingList> ShoppingListSet { get; }
        void Add(Product product);
        void Add(ShoppingList shoppingList);
        void Remove(Product product);
        void Remove(ShoppingList shoppingList);
        void SaveChanges();
    }
}
